Skip to content

fix(ui5-expandable-text): fix using "white-space" style in the component#13599

Open
TeodorTaushanov wants to merge 1 commit into
mainfrom
exp_text_preverve
Open

fix(ui5-expandable-text): fix using "white-space" style in the component#13599
TeodorTaushanov wants to merge 1 commit into
mainfrom
exp_text_preverve

Conversation

@TeodorTaushanov
Copy link
Copy Markdown
Member

@TeodorTaushanov TeodorTaushanov commented May 27, 2026

white-space style in inherited in the internal ui5-text component

fixes #12970

@TeodorTaushanov TeodorTaushanov changed the title fix(ui5-expandable-text): inherit white-space fix(ui5-expandable-text): fix using "white-space" style in the component May 27, 2026
@ui5-webcomponents-bot
Copy link
Copy Markdown
Collaborator

@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview May 27, 2026 13:39 Inactive
@TeodorTaushanov TeodorTaushanov requested a review from a team May 28, 2026 07:34
Copy link
Copy Markdown
Member

@duygu-rmdn duygu-rmdn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

provide cypress tests


.ui5-exp-text-text {
display: inline;
white-space: inherit;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This fixes the issue only when the overflow mode is set to "inplace". In case it is set to "popover" the white spaces are still missing in the popover. To fix it i tried to change this line {this.text} in the ExpTextTemplate. If this is the expected behaviour could you please address it, otherwise please ignore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature Request]: ExpandableText — Add maxWidth For Responsive Popover And Preserve Whitespaces

3 participants